﻿namespace Lanbt.Core.Entity.Dto.lanbt_user
{
    public class GetCurrentUserOutput
    {
        public GetCurrentUserOutput()
        {
            RoleNames = new List<string>();
            PowerList = new List<string>();
        }

        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 是否是超级管理员
        /// </summary>
        public bool IsAdmin { get; set; }

        /// <summary>
        /// 角色名集合
        /// </summary>
        public List<string> RoleNames { get; set; }

        /// <summary>
        /// 角色ID集合
        /// </summary>
        public List<string> RoleIds { get; set; }

        /// <summary>
        /// 权限集合
        /// </summary>
        public List<string> PowerList { get; set; }
    }
}
